package edu.gxmzu.task.service;


import edu.gxmzu.task.utils.Result;

public interface AccountsService {
    Result login(String username, String password) throws Exception;
    Result register(String username, String password, String name, String email, Integer role) throws Exception;
    Result logout();
    Result deactivate(String userId);
}
